package it.uniba.di.cdg.penelope.events;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention( RetentionPolicy.RUNTIME )
@Target( ElementType.METHOD )
@Inherited
public @interface OnEvent {
	/**
	 * An event id defined according to the Event Admin Service Id.
	 * @return the event topic
	 */
	Class<?> value() default Object.class; 

	//	/**
//	 * OSGi filter string (LDAP style)
//	 * @return
//	 */
//	String filter() default "";
}
